using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN SinhVienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: SinhVienEntity</para>
	/// <para>Description: ClassSinhVienEntity store data of table SinhVien</para>
	///</summary>

	[DataContract]
	public partial class SinhVienEntity{


		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullMaSinhVien=true;
		private bool _IsNullMaSinhVien=true;
		private bool _InternalChangedIsNullTenSinhVien=true;
		private bool _IsNullTenSinhVien=true;
		private bool _InternalChangedIsNullDiaChi=true;
		private bool _IsNullDiaChi=true;
		private bool _InternalChangedIsNullEmail=true;
		private bool _IsNullEmail=true;
		private bool _InternalChangedIsNullSoCMND=true;
		private bool _IsNullSoCMND=true;
		private bool _InternalChangedIsNullDienThoai=true;
		private bool _IsNullDienThoai=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private bool _InternalChangedIsNullGioiTinh=true;
		private bool _IsNullGioiTinh=true;
		private bool _InternalChangedIsNullNgaySinh=true;
		private bool _IsNullNgaySinh=true;
		private int _SinhVien_ID;
		private string _MaSinhVien;
		private string _TenSinhVien;
		private string _DiaChi;
		private string _Email;
		private string _SoCMND;
		private string _DienThoai;
		private string _GhiChu;
		private Byte _GioiTinh;
		private string _NgaySinh;
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullMaSinhVien{
			get{return _IsNullMaSinhVien;}
			set{if(!_InternalChangedIsNullMaSinhVien)_IsNullMaSinhVien=value;}
		}
		[DataMember]
		public bool IsNullTenSinhVien{
			get{return _IsNullTenSinhVien;}
			set{if(!_InternalChangedIsNullTenSinhVien)_IsNullTenSinhVien=value;}
		}
		[DataMember]
		public bool IsNullDiaChi{
			get{return _IsNullDiaChi;}
			set{if(!_InternalChangedIsNullDiaChi)_IsNullDiaChi=value;}
		}
		[DataMember]
		public bool IsNullEmail{
			get{return _IsNullEmail;}
			set{if(!_InternalChangedIsNullEmail)_IsNullEmail=value;}
		}
		[DataMember]
		public bool IsNullSoCMND{
			get{return _IsNullSoCMND;}
			set{if(!_InternalChangedIsNullSoCMND)_IsNullSoCMND=value;}
		}
		[DataMember]
		public bool IsNullDienThoai{
			get{return _IsNullDienThoai;}
			set{if(!_InternalChangedIsNullDienThoai)_IsNullDienThoai=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public bool IsNullGioiTinh{
			get{return _IsNullGioiTinh;}
			set{if(!_InternalChangedIsNullGioiTinh)_IsNullGioiTinh=value;}
		}
		[DataMember]
		public bool IsNullNgaySinh{
			get{return _IsNullNgaySinh;}
			set{if(!_InternalChangedIsNullNgaySinh)_IsNullNgaySinh=value;}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public string MaSinhVien{
			get{return _MaSinhVien;}
			set{
				_MaSinhVien=value;
				if(_MaSinhVien!=null){
					_IsNullMaSinhVien=false;
					_InternalChangedIsNullMaSinhVien=true;
				}
			}
		}
		[DataMember]
		public string TenSinhVien{
			get{return _TenSinhVien;}
			set{
				_TenSinhVien=value;
				if(_TenSinhVien!=null){
					_IsNullTenSinhVien=false;
					_InternalChangedIsNullTenSinhVien=true;
				}
			}
		}
		[DataMember]
		public string DiaChi{
			get{return _DiaChi;}
			set{
				_DiaChi=value;
				if(_DiaChi!=null){
					_IsNullDiaChi=false;
					_InternalChangedIsNullDiaChi=true;
				}
			}
		}
		[DataMember]
		public string Email{
			get{return _Email;}
			set{
				_Email=value;
				if(_Email!=null){
					_IsNullEmail=false;
					_InternalChangedIsNullEmail=true;
				}
			}
		}
		[DataMember]
		public string SoCMND{
			get{return _SoCMND;}
			set{
				_SoCMND=value;
				if(_SoCMND!=null){
					_IsNullSoCMND=false;
					_InternalChangedIsNullSoCMND=true;
				}
			}
		}
		[DataMember]
		public string DienThoai{
			get{return _DienThoai;}
			set{
				_DienThoai=value;
				if(_DienThoai!=null){
					_IsNullDienThoai=false;
					_InternalChangedIsNullDienThoai=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
		[DataMember]
		public Byte GioiTinh{
			get{return _GioiTinh;}
			set{
				_GioiTinh=value;
				if(_GioiTinh!=null){
					_IsNullGioiTinh=false;
					_InternalChangedIsNullGioiTinh=true;
				}
			}
		}
		[DataMember]
		public string NgaySinh{
			get{return _NgaySinh;}
			set{
				_NgaySinh=value;
				if(_NgaySinh!=null){
					_IsNullNgaySinh=false;
					_InternalChangedIsNullNgaySinh=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SinhVienEntityBase*****************************************/
	/*****************************************************************************************************/
}

